package com.gryffonx.utils;


/**
 * **************************************************************************
 * Application:
 * Author: Erik Stell
 * Date: Feb 8, 2005
 * Time: 2:20:47 PM
 * Process:
 * **************************************************************************
 */
class MyComparator implements Comparable {

    public int compare(Object o1, Object o2) {
        //since o1 and o2 are Arrays...
        String[] s1 = (String[]) o1,
                s2 = (String[]) o2;
        //compare the arrays' first elements (the names)
        return s1[0].compareTo(s2[0]);
    }

    public int compareTo(Object o) {
        return 0;
    }
}
